<?php

$form['author']['#access'] = FALSE; // for disabling the author info
		$form['options']['#access'] = FALSE; // for disabling the publishing option settings
		$form['menu']['#access'] = FALSE;// for disabling the menu settings
		$form['comment_settings']['#access'] = FALSE;// for disabling the comment settings
		$form['path']['#access'] = FALSE;// for disabling the URL path settings
		$form['buttons']['preview']['#type'] = 'hidden';		
	 	$form['buttons']['preview']['#type'] = 'hidden';
		$form['buttons']['submit']['#attributes'] = array("class"=>"invite");
print drupal_render($form['field_invite_friend']);
print drupal_render($form['buttons']['submit']);
?>